﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;


namespace DTO
{
    public class ChuongTrinhDT_DTO
    {
        private string _maCTDT;
        public string MaCTDT
        {
            get { return _maCTDT; }
            set { _maCTDT = value; }
        }
        private string _tenCTDT;
        public string TenCTDT
        {
            get { return _tenCTDT; }
            set { _tenCTDT = value; }
        }
        public ChuongTrinhDT_DTO(string maCTDT, string tenCTDT)
        {
            MaCTDT = maCTDT;
            TenCTDT = tenCTDT;
        }
    }
    public class DangKyMH_DTO
    {
        private string _iD;
        public string ID
        {
            get { return _iD; }
            set { _iD = value; }
        }
        private string _maSV;
        public string MaSV
        {
            get { return _maSV; }
            set { _maSV = value; }
        }
        private string _maHP;
        public string MaHP
        {
            get { return _maHP; }
            set { _maHP = value; }
        }
        public DangKyMH_DTO(string masv, string mahp)
        {
            MaSV = masv;
            MaHP = mahp;
        }
    }
    public class GiangVien_DTO
    {
        private string _maGV;
        public string MaGV
        {
            get { return _maGV; }
            set { _maGV = value; }
        }
        private string _hoTen;
        public string HoTen
        {
            get { return _hoTen; }
            set { _hoTen = value; }
        }
        private string _email;
        public string Email
        {
            get { return _email; }
            set { _email = value; }
        }
        private string _soDT;
        public string SoDT
        {
            get { return _soDT; }
            set { _soDT = value; }
        }
        private string _diaChi;
        public string DiaChi
        {
            get { return _diaChi; }
            set { _diaChi = value; }
        }
        public GiangVien_DTO(string magv, string hoten, string email, string sodt, string diachi)
        {
            MaGV = magv;
            HoTen = hoten;
            Email = email;
            SoDT = sodt;
            DiaChi = diachi;
        }
    }
    public class HocKy_DTO
    {
        private string _maHK;
        public string MaHK
        {
            get { return _maHK; }
            set { _maHK = value; }
        }
        private string _nienKhoa;

        public string NienKhoa
        {
            get { return _nienKhoa; }
            set { _nienKhoa = value; }
        }
        private int _hocKy;
        public int HocKy
        {
           get { return _hocKy; }
           set { _hocKy = value; }
        }
        public HocKy_DTO(string mahk, string nienkhoa, int hocky)
        {
            MaHK = mahk;
            NienKhoa = nienkhoa;
            HocKy = hocky;
        }
    }
    public class HocPhan_DTO
    {
        private string _maHP;

        public string MaHP
        {
            get { return _maHP; }
            set { _maHP = value; }
        }
        private string _maMH;

        public string MaMH
        {
            get { return _maMH; }
            set { _maMH = value; }
        }
        private string _maGV;

        public string MaGV
        {
            get { return _maGV; }
            set { _maGV = value; }
        }
        private string _loaiHocPhan;

        public string LoaiHocPhan
        {
            get { return _loaiHocPhan; }
            set { _loaiHocPhan = value; }
        }
        private string _hocKy;

        public string HocKy
        {
            get { return _hocKy; }
            set { _hocKy = value; }
        }
        private int _gioiHan;

        public int GioiHan
        {
            get { return _gioiHan; }
            set { _gioiHan = value; }
        }
        private string _thoiGianBatDau;

        public string ThoiGianBatDau
        {
            get { return _thoiGianBatDau; }
            set { _thoiGianBatDau = value; }
        }
        private string _thoiGianKetThuc;

        public string ThoiGianKetThuc
        {
            get { return _thoiGianKetThuc; }
            set { _thoiGianKetThuc = value; }
        }
        private int _soTiet;

        public int SoTiet
        {
            get { return _soTiet; }
            set { _soTiet = value; }
        }
        private int _ngayHoc;

        public int NgayHoc
        {
            get { return _ngayHoc; }
            set { _ngayHoc = value; }
        }
        private int _tietDau;

        public int TietDau
        {
            get { return _tietDau; }
            set { _tietDau = value; }
        }
        private int _tietCuoi;

        public int TietCuoi
        {
            get { return _tietCuoi; }
            set { _tietCuoi = value; }
        }
        private string _phong;

        public string Phong
        {
            get { return _phong; }
            set { _phong = value; }
        }
        public HocPhan_DTO(string malop, string mamh, string magv, string loaihocphan, string hocky, int gioihan, string thoigianbatdau, string thoigianketthuc, int sotiet, int ngayhoc, int tietdau, int tietcuoi, string phong)
        {
            MaHP = malop;
            MaMH = mamh;
            MaGV = magv;
            LoaiHocPhan = loaihocphan;
            HocKy = hocky;
            GioiHan = gioihan;
            ThoiGianBatDau = thoigianbatdau;
            ThoiGianKetThuc = thoigianketthuc;
            SoTiet = sotiet;
            NgayHoc = ngayhoc;
            TietDau = tietdau;
            TietCuoi = tietcuoi;
            Phong = phong;
        }
    }
    public class KetQuaMH_DTO
    {
        private string _iD;

        public string ID
        {
            get { return _iD; }
            set { _iD = value; }
        }
        private string _maMH;

        public string MaMH
        {
            get { return _maMH; }
            set { _maMH = value; }
        }
        private string _maSV;

        public string MaSV
        {
            get { return _maSV; }
            set { _maSV = value; }
        }
        private string _maHK;

        public string MaHK
        {
            get { return _maHK; }
            set { _maHK = value; }
        }
        private float _diemGiuaKy;

        public float DiemGiuaKy
        {
            get { return _diemGiuaKy; }
            set { _diemGiuaKy = value; }
        }
        private float _diemCuoiKy;

        public float DiemCuoiKy
        {
            get { return _diemCuoiKy; }
            set { _diemCuoiKy = value; }
        }
        public KetQuaMH_DTO(string id, string mamh, string masv, string mahk, float diemgiuaky, float diemcuoiky)
        {
            ID = id;
            MaMH = mamh;
            MaSV = masv;
            MaHK = mahk;
            DiemGiuaKy = diemgiuaky;
            DiemCuoiKy = DiemCuoiKy;
        }
    }
    public class Khoa_DTO
    {
        private string _maKhoa;

        public string MaKhoa
        {
            get { return _maKhoa; }
            set { _maKhoa = value; }
        }
        private string _tenKhoa;

        public string TenKhoa
        {
            get { return _tenKhoa; }
            set { _tenKhoa = value; }
        }
        public Khoa_DTO(string makhoa, string tenkhoa)
        {
            MaKhoa = makhoa;
            TenKhoa = tenkhoa;
        }
    }
    public class KhoaHoc_DTO
    {
        private string _maSV;

        public string MaSV
        {
            get { return _maSV; }
            set { _maSV = value; }
        }
        private string _khoaHoc;

        public string KhoaHoc
        {
            get { return _khoaHoc; }
            set { _khoaHoc = value; }
        }
        private string _nienKhoa;

        public string NienKhoa
        {
            get { return _nienKhoa; }
            set { _nienKhoa = value; }
        }
        private string _namNhapHoc;

        public string NamNhapHoc
        {
            get { return _namNhapHoc; }
            set { _namNhapHoc = value; }
        }
        private string _namKetThuc;

        public string NamKetThuc
        {
            get { return _namKetThuc; }
            set { _namKetThuc = value; }
        }
        private string _chuongTrinhDaoTao;

        public string ChuongTrinhDaoTao
        {
            get { return _chuongTrinhDaoTao; }
            set { _chuongTrinhDaoTao = value; }
        }
        private string _lop;
        public string Lop
        {
            get { return _lop; }
            set { _lop = value; }
        }
        private string _cVHT;

        public string CVHT
        {
            get { return _cVHT; }
            set { _cVHT = value; }
        }
        public KhoaHoc_DTO(string khoahoc, string nienkhoa, string namnhaphoc, string namketthuc, string chuongtrinhdaotao, string lop, string cvht)
        {
            KhoaHoc = khoahoc;
            NienKhoa = nienkhoa;
            NamNhapHoc = namnhaphoc;
            NamKetThuc = namketthuc;
            ChuongTrinhDaoTao = chuongtrinhdaotao;
            Lop = lop;
            CVHT = cvht;
        }
    }
    public class Lop_DTO
    {
        private string _maLop;

        public string MaLop
        {
            get { return _maLop; }
            set { _maLop = value; }
        }
        private string _maKhoa;

        public string MaKhoa
        {
            get { return _maKhoa; }
            set { _maKhoa = value; }
        }
        private string _maGV;

        public string MaGV
        {
            get { return _maGV; }
            set { _maGV = value; }
        }
        public Lop_DTO(string malop, string makhoa, string magv)
        {
            MaLop = malop;
            MaKhoa = makhoa;
            MaGV = magv;
        }

    }
    public class MonHoc_DTO
    {
        private string _maMH;

        public string MaMH
        {
            get { return _maMH; }
            set { _maMH = value; }
        }
        private string _tenMH;

        public string TenMH
        {
            get { return _tenMH; }
            set { _tenMH = value; }
        }
        private int _soTC;

        public int SoTC
        {
            get { return _soTC; }
            set { _soTC = value; }
        }
        private string _loaiMon;

        public string LoaiMon
        {
            get { return _loaiMon; }
            set { _loaiMon = value; }
        }
        private string _moTa;

        public string MoTa
        {
            get { return _moTa; }
            set { _moTa = value; }
        }
        public MonHoc_DTO(string mamh, string tenmh, int sotc, string loaimon, string mota)
        {
            MaMH = mamh;
            TenMH = tenmh;
            SoTC = sotc;
            LoaiMon = loaimon;
            MoTa = mota;
        }
    }
    public class PhongHoc_DTO
    {
        private string _maPhong;

        public string MaPhong
        {
            get { return _maPhong; }
            set { _maPhong = value; }
        }
        private string _tenPhong;

        public string TenPhong
        {
            get { return _tenPhong; }
            set { _tenPhong = value; }
        }
        public PhongHoc_DTO(string maphong, string tenphong)
        {
            MaPhong = maphong;
            TenPhong = tenphong;
        }
    }
    public class SinhVien_DTO
    {
        private string _maSV;

        public string MaSV
        {
            get { return _maSV; }
            set { _maSV = value; }
        }
        private string _hoTen;

        public string HoTen
        {
            get { return _hoTen; }
            set { _hoTen = value; }
        }
        private string _ngSinh;

        public string NgSinh
        {
            get { return _ngSinh; }
            set { _ngSinh = value; }
        }
        private string _noiSinh;

        public string NoiSinh
        {
            get { return _noiSinh; }
            set { _noiSinh = value; }
        }
        private string _gioiTinh;

        public string GioiTinh
        {
            get { return _gioiTinh; }
            set { _gioiTinh = value; }
        }
        private string _danToc;

        public string DanToc
        {
            get { return _danToc; }
            set { _danToc = value; }
        }
        private string _soCMND;

        public string SoCMND
        {
            get { return _soCMND; }
            set { _soCMND = value; }
        }
        private string _loaiSV;

        public string LoaiSV
        {
            get { return _loaiSV; }
            set { _loaiSV = value; }
        }
        private string _tinhTrang;

        public string TinhTrang
        {
            get { return _tinhTrang; }
            set { _tinhTrang = value; }
        }
        private string _maKhoa;

        public string MaKhoa
        {
            get { return _maKhoa; }
            set { _maKhoa = value; }
        }
        private string _diaChi;

        public string DiaChi
        {
            get { return _diaChi; }
            set { _diaChi = value; }
        }
        private string _dienThoai;

        public string DienThoai
        {
            get { return _dienThoai; }
            set { _dienThoai = value; }
        }
        private string _email;

        public string Email
        {
            get { return _email; }
            set { _email = value; }
        }
        private string _ghiChu;

        public string GhiChu
        {
            get { return _ghiChu; }
            set { _ghiChu = value; }
        }
        public SinhVien_DTO(string masv, string hoten, string ngsinh, string noisinh, string dantoc,string gioitinh,
            string socmnd, string loaisv, string tinhtrang, string makhoa, string diachi, string dienthoai, string email, string ghichu)
        {
            MaSV = masv;
            HoTen = hoten;
            NgSinh = ngsinh;
            NoiSinh = noisinh;
            GioiTinh = gioitinh;
            DanToc = dantoc;
            SoCMND = socmnd;
            LoaiSV = LoaiSV;
            TinhTrang = tinhtrang;
            MaKhoa = makhoa;
            DiaChi = diachi;
            DienThoai = dienthoai;
            Email = email;
            GhiChu = ghichu;
        }
    }
    public class TaiKhoan_DTO
    {
        private string _userID;

        public string userID
        {
            get { return _userID; }
            set { _userID = value; }
        }
        private string _username;

        public string username
        {
            get { return _username; }
            set { _username = value; }
        }
        private string _password;

        public string password
        {
            get { return _password; }
            set { _password = value; }
        }
        private string _email;

        public string email
        {
            get { return _email; }
            set { _email = value; }
        }
        public TaiKhoan_DTO(string userId, string Username, string Password, string Email)
        {
            userID = userId;
            username = Username;
            password = Password;
            email = Email;
        }
    }

}
